/*
* ============================================================================
*  Name     : CTagChangerAppUi from TagChangerAppUi.h
*  Part of  : TagChanger
*  Created  : 2007/10/27 by Ma811ok@gamil.com
*  Description:
*     Declares UI class for application.
*  Version  :
*  Copyright: Ma811ok@gamil.com
* ============================================================================
*/

#ifndef TAGCHANGERAPPUI_H
#define TAGCHANGERAPPUI_H

// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknappui.h>

// FORWARD DECLARATIONS
class CTagChangerContainer;

// CONSTANTS
//const ?type ?constant_var = ?constant;


// CLASS DECLARATION
class CAppSettings;


/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* 
*/
class CTagChangerAppUi : public CAknAppUi
{
public: // // Constructors and destructor
	
        /**
        * EPOC default constructor.
	*/      
	void ConstructL();
	
	/**
	* Destructor.
	*/      
	~CTagChangerAppUi();
	
public: // New functions
	
public: // Functions from base classes
	
private:
	// From MEikMenuObserver
	void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
	
private:
/**
* From CEikAppUi, takes care of command handling.
* @param aCommand command to be handled
	*/
	void HandleCommandL(TInt aCommand);
	
	/**
	* From CEikAppUi, handles key events.
	* @param aKeyEvent Event to handled.
	* @param aType Type of the key event. 
	* @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). 
	*/
	virtual TKeyResponse HandleKeyEventL(
		const TKeyEvent& aKeyEvent,TEventCode aType);
	
		/*------------------------------------------------------------------
		Function:	BrowserMediaFolder	
		Class:		CTagChangerAppUi
		Parameters:	None
		Return:		None	
		Descript:	Brownser folder contains media files
		Author:		ma811
		Date:		2007-12-23
	------------------------------------------------------------------*/
	TFileName BrowserMediaFolder();

private: //Data
	CTagChangerContainer* iAppContainer; 

	CAppSettings* iSettings;
};

#endif

// End of File
